<template>
    <div class="earning">
        <el-table :data="earningTable" stripe border style="width: 100%;margin-top:20px;" :default-sort = "{prop: 'date', order: 'descending'}">
            <el-table-column prop="time" label="提取时间" width="200"></el-table-column>
            <el-table-column prop="money" label="提现金额" width="180"></el-table-column>
            <el-table-column prop="id" label="提现用户"></el-table-column>
            <el-table-column prop="state" label="提现状态"></el-table-column>
            <el-table-column prop="sum" label="账户余额"></el-table-column>
        </el-table>
    </div>
</template>

<script>
    export default {
        data() {
            return {
                earningTable: [{
                        time: '2016-12-31 13:00',
                        money: '4789',
                        id: '6228-4800-0000-0051-345',
                        state: '已到账',
                        sum: '69838'
                    }, {
                        time: '2016-12-31 13:00',
                        money: '4789',
                        id: '6228-4800-0000-0051-345',
                        state: '审核中',
                        sum: '69838'
                    }, {
                        time: '2016-12-31 13:00',
                        money: '4789',
                        id: '6228-4800-0000-0051-345',
                        state: '审核中',
                        sum: '69838'
                    }, {
                        time: '2016-12-31 13:00',
                        money: '4789',
                        id: '6228-4800-0000-0051-345',
                        state: '已到账',
                        sum: '69838'
                }]
            };
        },
        methods: {
        }
    }
</script>

<style>
    * {
        margin: 0;
        padding: 0;
    }
</style>